package com.zhuanzhuan.hero.user.dto.label;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @ClassName CancelAuthenticatedLabelDTO
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/19 20:39
 */
@Data
public class CancelAuthenticatedLabelDTO {

    @NotNull
    private Long homemakerUid;

    /**
     * 选择的标签
     */
    @NotEmpty
    private List<Long> labelIds;

    /**
     * 取消原因  必填；最大200字
     */
    @NotBlank
    @Size(max = 200)
    private String cancelReason;

    /**
     * 图片  必填；1-9张
     */
    @NotEmpty
    @Size(min = 1, max = 9)
    private List<String> cancelPics;
}
